home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C / Applications / Python 1.4 / Python 1.4 source / Tools / modulator / Templates / object_new < prev    next >
Encoding:
Text File  |  1996-03-18  |  219 b   |  14 lines  |  [TEXT/R*ch]

  1.  
  2. static $abbrev$object *
  3. new$abbrev$object()
  4. {
  5.     $abbrev$object *self;
  6.     
  7.     self = PyObject_NEW($abbrev$object, &$Abbrev$type);
  8.     if (self == NULL)
  9.         return NULL;
  10.     /* XXXX Add your own initializers here */
  11.     return self;
  12. }
  13.  
  14.